<html>
<head><meta charset="utf-8"><title>RIIR contributor entry point · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html">RIIR contributor entry point</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209247624"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209247624" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209247624">(Sep 07 2020 at 00:06)</a>:</h4>
<p>The usual Rust entry point is <code>cargo {build,run,check,test}</code>. rustc's entry point is a Python script. Many Rust devs will already be familiar with Rust workflows, this is not one. People have mentioned removing bootstrap.py entirely as implausible, but if at all possible, the degree to which rustc's entry point can be turned into mostly a Rust workflow would still simplify things, especially for newer contributors.</p>
<p>Splitting out this conversation from the other related threads because it's a specific ergonomics point.</p>



<a name="209247641"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209247641" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209247641">(Sep 07 2020 at 00:07)</a>:</h4>
<p>I am looking into this now.</p>



<a name="209247707"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209247707" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209247707">(Sep 07 2020 at 00:09)</a>:</h4>
<p>If you need any help lmk~ I'm not exactly a LLVM/CMake specialist but Python is something I can read. <span aria-label="eyes" class="emoji emoji-1f440" role="img" title="eyes">:eyes:</span></p>



<a name="209247877"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209247877" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209247877">(Sep 07 2020 at 00:15)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span>  is already working on the first step for this <span aria-label="heart" class="emoji emoji-2764" role="img" title="heart">:heart:</span> <a href="https://github.com/rust-lang/rust/pull/76423">https://github.com/rust-lang/rust/pull/76423</a></p>



<a name="209772723"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209772723" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209772723">(Sep 11 2020 at 12:18)</a>:</h4>
<p><span aria-label="heart eyes" class="emoji emoji-1f60d" role="img" title="heart eyes">:heart_eyes:</span> <span aria-label="heart eyes" class="emoji emoji-1f60d" role="img" title="heart eyes">:heart_eyes:</span> <span aria-label="heart eyes" class="emoji emoji-1f60d" role="img" title="heart eyes">:heart_eyes:</span> </p>
<p>You probably are aware of this, but, just in case, we've been using <a href="https://github.com/matklad/cargo-xtask">https://github.com/matklad/cargo-xtask</a> with great success to manage "custom" bits of build process in rust-analyzer.</p>



<a name="209774184"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RIIR%20contributor%20entry%20point/near/209774184" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RIIR.20contributor.20entry.20point.html#209774184">(Sep 11 2020 at 12:33)</a>:</h4>
<p>yeah I think something like xtask is feasible for rustbuild to use, or at least the pattern</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>